package org.example.design.exerciseold.resegregated;

/**
 * @Auther: lingshi
 * @Date: 2020/5/8 12:40
 * @Description:
 */
public class Peacock implements IEatService,IFlyService{

    @Override
    public void eat() {
        System.out.println("孔雀开始吃饭");
    }

    @Override
    public void fly() {
        System.out.println("孔雀飞走了");
    }
}
